const Usecase = require('../../shared/usecase/Usecase')

class GetSystemPage extends Usecase {
  constructor({ systemRepo }) {
    super()
    this.systemRepo = systemRepo
  }
  async execute(query) {
    return await this.systemRepo.paginate(query)
  }
}

module.exports = GetSystemPage
